package test;

public class Constants {
	public static final int NORTH = 0;
	public static final int SOUTH = 1;
	public static final int EAST = 2;
	public static final int WEST = 3;

	public static final int STONE = 0;
	public static final int EARTH = 1;
	public static final int MUD = 2;
	public static final int STONEPLATES = 3;
	public static final int WATER = 4;
	public static final int STONEWALL = 5;
	
	public static final int TOP = 0;
	public static final int DOWN = 1;
	
	public static final int type(int t) {
		if (t == STONE || t == EARTH || t == STONEWALL) {
			return TOP;
		} else {
			return DOWN;
		}
	}
}
